<?php

return [
    'menu' => [
        [
            'name' => '备份管理',
            'fid' => 0, 'status' => 1, 'type' => 1, 'is_new' => 0,
            'url' => url('plugin/' . $this->tag . '.index/index'),
            'qx_str' => '', 'class_name' => 'database', 'sort' => 0,
            'subcat' => [
                [
                    'name' => '备份列表',
                    'fid' => 0, 'status' => 1, 'type' => 1, 'is_new' => 0,
                    'url' => url('plugin/' . $this->tag . '.index/index'),
                    'qx_str' => '', 'class_name' => 'database', 'sort' => 0,
                    'subcat' => [
                        [
                            'name' => '新增备份',
                            'fid' => 0, 'status' => 1, 'type' => 0, 'is_new' => 0,
                            'url' => url('plugin/' . $this->tag . '.index/add_backup'),
                            'qx_str' => '', 'class_name' => 'database', 'sort' => 0
                        ],
                        [
                            'name' => '删除备份',
                            'fid' => 0, 'status' => 1, 'type' => 0, 'is_new' => 0,
                            'url' => url('plugin/' . $this->tag . '.index/del_backup'),
                            'qx_str' => '', 'class_name' => 'database', 'sort' => 0
                        ],
                        [
                            'name' => '下载备份',
                            'fid' => 0, 'status' => 1, 'type' => 0, 'is_new' => 0,
                            'url' => url('plugin/' . $this->tag . '.index/download_backup'),
                            'qx_str' => '', 'class_name' => 'database', 'sort' => 0
                        ],
                    ]
                ],

            ]
        ],

    ]
];